
<style scoped>
    .top{
        padding: 10px;
        background: rgba(0, 153, 229, .7);
        color: #fff;
        text-align: center;
        border-radius: 2px;
    }
</style>
<template>
    <div class="index">
        dasfsdf
        <div style="height: 1000px;">
            <Button type="ghost" @click="handleStart">Start iView</Button>

        </div>
        <BackTop :height="10" :bottom="200">
            <div class="top">返回顶端</div>
        </BackTop>
    </div>

</template>
<script>
    export default {
        methods: {
            handleStart () {
                let lastPath = sessionStorage.getItem("lastPath");
                this.$router.push({path: lastPath});
            }
        }
    }
</script>
